package state.person.events;

import messages.CString;
import state.group.events.EventType;

public class WaitingEvent extends BasePersonEvent {
    
    public WaitingEvent(byte[] data, int startIndex)
    {
        super(data, startIndex);
    }
    
    public WaitingEvent(CString personId)
    {
        super(personId);
    }
    
    @Override
    public int getEventByteLength()
    {
        return 1 + personId.getLength();
    }

    @Override
    public EventType getEventType()
    {
        return EventType.WaitingEvent;
    }
    
}
